//
//  VersionViewModel.h
//  quanminzhekou
//
//  Created by zxl on 15/1/26.
//  Copyright (c) 2015年 zhongqinglongtu. All rights reserved.
//

#import "VersionViewModel.h"

@implementation VersionViewModel
- (id)initWithVersionModel:(VersionModel*)model {
    self = [super init];
    if (self) {
        self.codeStr = model.code;
        self.versionStr = model.name;
        self.url = [NSURL URLWithString:model.url];
    }
    
    return self;
}
@end
